package com.lagou.esweb.common.constant;

public enum RespEnum {

    OK(200, "ok!"),
    ERROR(500, "error!");

    Integer code;

    String message;

    RespEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
